package com.yn.common.request.driver;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "司机返程计划修改请求对象", description = "用于接收司机返程计划修改的请求对象")
public class ReturnPlanModifyRequest extends DeparturePlanRequest{
    @ApiModelProperty(value = "返程计划id")
    @NotNull(message = "返程计划id不能为空")
    private Integer id;
}
